package org.stu.action;

import com.opensymphony.xwork2.ActionContext;

import java.util.*;
import org.stu.action.base.*;
import org.stu.dto.*;

/**
 * @author yeeku.H.lee kongyeeku@163.com
 * @version 1.0 <br>
 *          Copyright (C), 2005-2008, yeeku.H.Lee <br>
 *          This program is protected by copyright laws. <br>
 *          Program Name: <br>
 *          Date:
 */

public class AddExpenseRecordType extends BaseAction {
	private ExpenseRecordType expenseRecordType;

	@Override
	public String execute() throws Exception {

		expenseManager.addExpenseRecordType(expenseRecordType);

		return MAIN;
	}

	public ExpenseRecordType getExpenseRecordType() {
		return expenseRecordType;
	}

	public void setExpenseRecordType(ExpenseRecordType expenseRecordType) {
		this.expenseRecordType = expenseRecordType;
	}

}